package com.gd.iot.energy.dao.superadmin;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gd.iot.energy.po.superadmin.RolePO;
import com.gd.iot.energy.pojo.superadmin.dto.RoleDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RolePOMapper extends BaseMapper<RolePO> {
    List<RoleDTO> getRolesByAdminId(@Param("adminId") Long adminId,
                                    @Param("energyType") Integer energyType);
}